package com.aaa.behind.service.impl;

import com.aaa.entity.EMessage;
import com.aaa.behind.dao.EMessageMapper;
import com.aaa.behind.service.IEMessageService;
import com.aaa.util.PageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统通知表 服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-02-06
 */
@Service
public class EMessageServiceImpl extends ServiceImpl<EMessageMapper, EMessage> implements IEMessageService {

    @Autowired
    private EMessageMapper eMessageMapper;

    @Override
    public IPage getMessage(PageInfo pageInfo, String startTime, String endTime) {
        return eMessageMapper.getMessage(pageInfo,startTime,endTime);
    }
}
